package cool.houge.pig.service.login;

import cool.houge.pig.model.LoginChannel;
import reactor.core.publisher.Mono;

/**
 * 登录通道认证.
 *
 * @author KK (kzou227@qq.com)
 */
public interface LoginChannelAuthentication {

  /**
   * @param key
   * @param passphrase
   * @return
   */
  Mono<LoginChannel> authenticate(String key, String passphrase);
}
